<?php

namespace App\Kuafu\Feishu\Service;

use App\Remote\Feishu\Sso\SsoRemote;
use App\Remote\Feishu\User\UserRemote;

class SsoService
{
    public static function getUserinfo(string $code, int $type)
    {
        return SsoRemote::userinfo($type, $code);
    }

}
